<?php
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once dirname(__FILE__) . '/../Schedule/Controller.php';

class ScheduleTest extends UnitTestCase
{
	public function Test1100()
	{
		$obj = new Models_Schedule_Xml_Controller('201007.xml');
		$RESULT = $obj->searchDate('2010', '7', '3');
		echo '****TEST1100****' . "\r\n";
		print_r($RESULT);
	}

	public function test1200()
	{
		$obj = new Models_Schedule_Xml_Controller('201007.xml');
		$RESULT = $obj->searchKey('ID', '1278060899.66');
		echo '****TEST1200****' . "\r\n";
		print_r($RESULT);
	}

	public function test1300()
	{
		$obj = new Models_Schedule_Xml_Controller('201007.xml');
		$RESULT = $obj->getArrayData(array('U12'));
		echo '****TEST1300****' . "\r\n";
		print_r($RESULT);
	}
}